package com.lvhx;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

// http://localhost:9998/swagger-ui.html#
@SpringBootApplication
//此处扫描的是接口
@MapperScan("com.lvhx.dao")
@ComponentScan(basePackages = {"com.lvhx.*"})
@ImportResource("classpath:/start-config.xml")
@EnableCaching
@Slf4j
//@EnableRetry
public class SpringbootRedisApplication9998 {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootRedisApplication9998.class, args);
        log.info("<<<<<服务启动成功>>>>>");
    }

}
